package com.mapper;

import com.entity.SetmealFood;
import com.entity.SetmealFoodExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SetmealFoodMapper {
    long countByExample(SetmealFoodExample example);

    int deleteByExample(SetmealFoodExample example);

    int deleteByPrimaryKey(Integer sfid);

    int insert(SetmealFood record);

    int insertSelective(SetmealFood record);

    List<SetmealFood> selectByExample(SetmealFoodExample example);

    SetmealFood selectByPrimaryKey(Integer sfid);

    List<SetmealFood> selectSetmealFoodsBySmidWithFood(String smid);



    int updateByExampleSelective(@Param("record") SetmealFood record, @Param("example") SetmealFoodExample example);

    int updateByExample(@Param("record") SetmealFood record, @Param("example") SetmealFoodExample example);

    int updateByPrimaryKeySelective(SetmealFood record);

    int updateByPrimaryKey(SetmealFood record);
}